<include file="Public:pageheader" />
<div class="content-box">
	<div class="content-box-header">
	<h3>{$Think.lang.edit_graveyardtype}</h3>
	<div class="clear"></div>
	</div>

	<div class="content-box-content">
		<form action="__URL__/upload1" method="post"enctype="multipart/form-data">
			<fieldset>
			<p>
			<label>*{%graveyardtype_name}：</label>
			<input class="text-input small-input" type="text" name="name" value="{$vo.name}"/>
			</p>
			
			<label>*{%graveyardtype_bury_type}:</label>
			<select name="bury_type_id" class="small-input">
			<volist name="buryname" id="bury">
				<option value="{$bury.id}" <if condition="$bury.id eq $vo['bury_type_id']">selected="selected"</if>>{$bury.name}</option>
			</volist>
			</select>
			<label>*{%graveyardtype_grave_type}:</label>
			<select name="grave_type_id" class="small-input">
			<volist name="gravename" id="grave">
				<option value="{$grave.id}" <if condition="$grave.id eq $vo['grave_type_id']">selected="selected"</if>>{$grave.name}</option>
			</volist>
			</select>
			<label>*{%graveyardtype_multi_type}:</label>
			<select name="multi_type_id" class="small-input">
			<volist name="multiname" id="multi">
				<option value="{$multi.id}" <if condition="$multi.id eq $vo['multi_type_id']">selected="selected"</if>>{$multi.name}</option>
			</volist>
			</select>
			
			
            <p>
			<label>*{%graveyardtype_zhubei}：</label>
			<input class="text-input small-input" type="text" name="zhubei_attr" value="{$vo.zhubei_attr}"/>
			</p>
			<p>
			<label>*{%graveyardtype_gaiban}：</label>
			<input class="text-input small-input" type="text" name="gaiban_attr" value="{$vo.gaiban_attr}"/>
			</p>
			<p>
			<label>*{%graveyardtype_jizuo}：</label>
			<input class="text-input small-input" type="text" name="jizuo_attr" value="{$vo.jizuo_attr}"/>
			</p>
			<p>
			<label>*{%graveyardtype_out_length}：</label>
			<input class="text-input small-input" type="text" name="out_length" value="{$vo.out_length}"/>
			</p>	
			<p>
			<label>*{%graveyardtype_out_height}：</label>
			<input class="text-input small-input" type="text" name="out_height" value="{$vo.out_height}"/>
			</p>
			<p>
			<label>*{%graveyardtype_out_width}：</label>
			<input class="text-input small-input" type="text" name="out_width" value="{$vo.out_width}"/>
			</p>
			<p>
			<label>*{%graveyardtype_out_area}：</label>
			<input class="text-input small-input" type="text" name="out_area" value="{$vo.out_area}"/>
			</p>
			<p>
			<label>*{%graveyardtype_in_length}：</label>
			<input class="text-input small-input" type="text" name="in_length" value="{$vo.in_length}"/>
			</p>
			<p>
			<label>*{%graveyardtype_in_width}：</label>
			<input class="text-input small-input" type="text" name="in_width" value="{$vo.in_width}"/>
			</p>
			<p>
			<label>*{%graveyardtype_in_height}：</label>
			<input class="text-input small-input" type="text" name="in_height" value="{$vo.in_height}"/>
			</p>
			<p>
			<label>*{%graveyardtype_in_area}：</label>
			<input class="text-input small-input" type="text" name="in_area" value="{$vo.in_area}"/>
			</p>
			
		
			<p>
			<label>{%graveyardtype_description}：</label>
			<textarea name="description" class="text-input small-input">{$vo.description}</textarea>
			</p>
            <p>
			<label>{%graveyardtype_image}：</label>			
			<input type="file"  name="image_url"class="text-input small-input" > <br/>
			<input type='text' name='image_url'class="text-input small-input"value="{$vo.image_url}"/>
			</p>
			<p>
				<input type="hidden" value="{$vo.id}" name="id" />
                <input class="button" type="submit" value="{%update}" />
                &nbsp;&nbsp;&nbsp;&nbsp;
				<input class="button" type="reset" value="{%reset}" />
				
			</p>
			</fieldset>
		</form>
	</div>
</div>
<include file="Public:footer" />